package com.tuyrt.firstcode.kotlin.generics

/**
 * Created by tuyrt7 on 2021/4/12.
 */

open class Person(val name: String, val age: Int)

class Student(name: String, age: Int) : Person(name, age)
class Teacher(name: String, age: Int) : Person(name, age)